/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package collections.list.interfaces;

import java.util.Collection;
import java.util.Iterator;
import java.util.ListIterator;

/**
 *
 * @author Iaroslav_Mazai
 */
public interface MyList extends Iterable {

	public void add(Object e);

	public void add(int index, Object element);

	public void addAll(Object[] c);

	public void addAll(int index, Object[] c);

	public Object get(int index);

	public Object remove(int index);

	public void clear();

	public boolean isEmpty();

	public Object set(int index, Object e);

	public int indexOf(Object o);

	public int size();

	public Object[] toArray();

	@Override
	public Iterator iterator();
}
